package com.hqyj.zss.service;

import com.hqyj.zss.pojo.Employee;
import com.hqyj.zss.pojo.PageData;

public interface EmployeeService {

    //查询所有员工
    PageData<Employee> queryAllEmployee(int pageNumber,int pageSize,String e_name);

    //新增员工
    int addEmployee(Employee employee);

    //修改员工信息
    int updateEmployee(Employee employee);

    //删除员工
    int deleteEmployee(int e_id);

    //根据id查询员工信息
    Employee queryOneEmployee(int e_id);

}
